package com.hxzy.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hxzy.shop.entity.AdminRoleInnerModule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 功能描述：总部角色模块关联表（admin_module和admin_role_inner_module）
 *
 * @author tonneyyy
 */
public interface AdminRoleInnerModuleMapper extends BaseMapper<AdminRoleInnerModule> {

    List<AdminRoleInnerModule> findRoleInnerModuleByRoleId(@Param("roleId") Long roleId);

    List<Long> findModuleIdByRoleId(@Param("roleId") Long roleId);
}
